<!DOCTYPE html>
<html>

<head>
  <!--
    If you are serving your web app in a path other than the root, change the
    href value below to reflect the base path you are serving from.

    The path provided below has to start and end with a slash "/" in order for
    it to work correctly.

    For more details:
    * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base

    This is a placeholder for base href that will be replaced by the value of
    the `--base-href` argument provided to `flutter build`.
  -->
  <base href="/geye/">

  <meta charset="UTF-8">
  <meta content="IE=Edge" http-equiv="X-UA-Compatible">
  <meta name="description" content="A new Flutter project.">

  <!-- iOS meta tags & icons -->
  <meta name="mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-title" content="geye">
  <link rel="apple-touch-icon" href="../icons/favicon-192x192.png">

  <!-- Favicon -->
  <link rel="icon" type="image/png" href="../icons/favicon-16x16.png" />

  <title>geye</title>
  <!--<link rel="manifest" href="manifest.json">-->

  <!-- Add loading when open. Reference: https://itnext.io/fix-flutter-web-loading-time-with-a-loading-spinner-c5dd36a29f5b -->
  <style>
      .loading {
          display: flex;
          justify-content: center;
          align-items: center;
          margin: 0;
          position: absolute;
          top: 50%;
          left: 50%;
          -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
      }

      .loader {
          border: 16px solid #f3f3f3;
          border-radius: 50%;
          border: 15px solid;
          border-top: 16px solid #ebc349;
          border-right: 16px solid white;
          border-bottom: 16px solid #ebc349;
          border-left: 16px solid white;
          width: 120px;
          height: 120px;
          -webkit-animation: spin 2s linear infinite;
          animation: spin 2s linear infinite;
      }

      @-webkit-keyframes spin {
          0% {
              -webkit-transform: rotate(0deg);
          }

          100% {
              -webkit-transform: rotate(360deg);
          }
      }

      @keyframes spin {
          0% {
              transform: rotate(0deg);
          }

          100% {
              transform: rotate(360deg);
          }
      }
  </style>

  <script>
    // The value below is injected by flutter build, do not touch.
    const serviceWorkerVersion = "1015331752";
  </script>
  <!-- This script adds the flutter initialization JS code -->
  <script src="./flutter.js" defer></script>
</head>

<body>
<div class="loading">
  <div class="loader"></div>
</div>
<script>
  window.addEventListener('load', function (ev) {
    // Download main.dart.js
    _flutter.loader.loadEntrypoint({
      serviceWorker: {
        serviceWorkerVersion: serviceWorkerVersion,
      },
      onEntrypointLoaded: function (engineInitializer) {
        engineInitializer.initializeEngine().then(function (appRunner) {
          appRunner.runApp();
        });
      }
    });
  });
</script>
<script type="application/javascript" src="./assets/packages/flutter_inappwebview_web/assets/web/web_support.js"
        defer></script>
<script type="application/javascript" src="./assets/assets/js/jquery.js"></script>
<div id="wrapdiv"
     style="position: absolute; z-index: 9999; left: 0px; right: 0px; top: 0px; bottom: 0px; background-color: #0007; display: none;">
  <span style="display: block; position: absolute; top: 20px; right: 20px;">❌</span>
  <iframe id="wrapifr" style="position: absolute; left: 50px; right: 50px; top: 20px; bottom: 20px;"
          src="about:blank"></iframe>
</div>
<script type="application/javascript">
  $(function () {
    var iframe = $('#wrapifr');
    iframe.width($('#wrapdiv').width() - 100);
    iframe.height($('#wrapdiv').height() - 40);
  });
  $('#wrapdiv').click(function () {
    $('#wrapdiv').hide();
  });
  function showInnerView(url) {
    $('#wrapifr').attr('src', url);
    $('#wrapdiv').show();
  }
</script>
</body>

</html>